package com.dk.service.impl;

import com.dk.mapper.AppointmentMapper;
import com.dk.pojo.Appointment;
import com.dk.pojo.AppointmentVO;
import com.dk.service.AppointmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AppointmentServiceImpl implements AppointmentService {

    @Autowired
    private AppointmentMapper appointmentMapper;

    @Override
    public List<AppointmentVO> toSelect(Long sellerId) {
        return appointmentMapper.toSelectById(sellerId);
    }
}
